package com.typhoon.spring_shiro.dto.request;

import java.io.Serializable;

/**
 * 请求实体类
 * 
 * @author Typhoon
 * @date 2017-07-11 11:57 Tuesday
 * @since V1.3.0
 */
public class StockReq implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2835449785345031037L;
	
	private Long id;
	
	/**
	 * 需要扣减数据量
	 */
	private Integer needDeduct;
	
	/**
	 * 需要增加的数量
	 */
	private Integer needIncrease;
	
	/**
	 * 客户端唯一标识
	 */
	private Integer customerId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getNeedDeduct() {
		return needDeduct;
	}

	public void setNeedDeduct(Integer needDeduct) {
		this.needDeduct = needDeduct;
	}

	public Integer getNeedIncrease() {
		return needIncrease;
	}

	public void setNeedIncrease(Integer needIncrease) {
		this.needIncrease = needIncrease;
	}

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
}
